<%@ page language="java" contentType="text/html; charset=UTF-8"
	import="java.util.*,java.sql.*,com.zhida84.Convert.*,com.zhida84.Impl.*,com.zhida84.Dao.*"
	pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html>
<head>
<meta name="author" content="shangzhengbo&sunchangxing" />
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta name="viewport"
	content="width=device-width,height=device-height,inital-scale=1.0,maximum-scale=1.0,user-scalable=no;">
<title>美食推荐</title>
<script type="text/javascript">
	/**function onBridgeReady() {
		WeixinJSBridge.call('hideOptionMenu');
	}
	if (typeof WeixinJSBridge == "undefined") {
		if (document.addEventListener) {
			document.addEventListener('WeixinJSBridgeReady', onBridgeReady,
					false);
		} else if (document.attachEvent) {
			document.attachEvent('WeixinJSBridgeReady', onBridgeReady);
			document.attachEvent('onWeixinJSBridgeReady', onBridgeReady);
		}
	} else {
		onBridgeReady();
	}
	// 对浏览器的UserAgent进行正则匹配，不含有微信独有标识的则为其他浏览器
	var useragent = navigator.userAgent;
	if (useragent.match(/MicroMessenger/i) != 'MicroMessenger') {
		// 这里警告框会阻塞当前页面继续加载
		var opened = window.open('about:blank', '_self');
		opened.opener = null;
		opened.close();
		window.location.href = "../../error/wechat.html"
	}
	*/
</script>
<link rel="stylesheet" type="text/css"
	href="<%=request.getContextPath()%>/css/registarr.css">
<link rel="stylesheet" type="text/css"
	href="<%=request.getContextPath()%>/css/datalist.css">
<script type="text/javascript"
	src="<%=request.getContextPath()%>/js/jquery.min.js"></script>
<link rel="stylesheet" type="text/css"
	href="<%=request.getContextPath()%>/css/myapply/myapply.css">
</head>
<body onload="leadzt('待审核')">
	<%
		Cookie[] cookies = request.getCookies();
		String phone = null;
		String myjobid=null;
		if (cookies != null) {
			for (Cookie c : cookies) {
			if (c.getName().equals("phone"))// 依据cookies里面的手机
			{
				phone = c.getValue();
			}
			}
			    }

		if (phone == null) {
			     	response.sendRedirect("../../personal.html");
		}else{
			//获取用户ID			
			UserDao userDao = new UserImpl();
			ResultSet rs = userDao.getZFB(phone);
			while (rs.next()) {
		DESJM de = new DESJM();
		myjobid=de.encrypt(rs.getString("userId"));
			}
		}
	%>
	<input type="hidden" id="jobid" value="<%=myjobid%>">
	<jsp:include page="../../Share/top_back.jsp"></jsp:include>
	<script type="text/javascript">
		$("#alltitle").html("我的留言");
		function backhistory() {
			window.history.go(-1);
		}
	</script>
	<div class="whiteBack">
		<ul id="DataList">
		</ul>
	</div>
	<br />
	<!--DateListEnd-->
	<script type="text/javascript"
		src="<%=request.getContextPath()%>/js/myleader.js"></script>
	<input type="hidden" id="path" value="../../">
	<input type="hidden" id="ym" value="grzx">
	<jsp:include page="../../Share/top_bar.jsp"></jsp:include>
	<script type="text/javascript" src="../../js/top_bar/top_bar_index.js"></script>
</body>
</html>